package top.xlq.mydb.backend.utils;

import java.security.SecureRandom;
import java.util.Random;

public class RandomUtil {
    public static byte[] randomBytes(int len){
        byte[] raw = new byte[len];
        Random r = new SecureRandom();
        r.nextBytes(raw);
        return raw;
    }
}
